using NodeCanvas.Framework;
using ParadoxNotion.Design;
using UnityEngine;

namespace Yoozoo.Gameplay.Liberty.AI.Node
{
    [Category("Ggame/Liberty")]
    public class SetAnimatorDisableOperate : AIBaseNode
    {
        public BBParameter<bool> boolValue = false;
        
        protected override void OnExecute()
        {
            _entity.viewer.animationAgent.SetDisableOperate(boolValue.value);
            EndAction(true);
        }
        
    }
}